﻿using UwaySoft.EsheetServer.DataLayer;

namespace UwaySoft.EsheetServer.BizLogic
{
    public class Application
    {
        private static ISqlHelper _sqlHelper;

        public static ISqlHelper SqlHelper
        {
            get
            {
                if (_sqlHelper == null)
                    return _sqlHelper = DataLayerHelper.GetSqlHelper(GlobalSetting.ConnectionString);
                return _sqlHelper;
            }
        }
    }
}
